package com.itedge.solutionmanager.web.taskhandler.impl.solution;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;

import com.itedge.infrastructure.service.process.IProcessService;
import com.itedge.infrastructure.service.task.ITaskService;
import com.itedge.infrastructure.service.taskdata.ITaskDataEntityService;
import com.itedge.infrastructure.stereotype.WebHandler;
import com.itedge.infrastructure.web.taskhandler.impl.AbstractTaskDataHandler;
import com.itedge.solutionmanager.domain.impl.Solution;
import com.itedge.solutionmanager.taskdata.impl.solution.CollectCustomerFeedbackTaskData;
import com.itedge.solutionmanager.web.convert.ISOFormattingConversionServiceBean;

@WebHandler
public class CollectCustomerFeedbackTaskDataHandler 
	extends AbstractTaskDataHandler<CollectCustomerFeedbackTaskData, Solution> {

	@Autowired
	protected CollectCustomerFeedbackTaskDataHandler(
			ISOFormattingConversionServiceBean conversionService,
			IProcessService<Solution> solutionProcessService,
			ITaskDataEntityService<CollectCustomerFeedbackTaskData> collectCustomerFeedbackTaskDataService,
			ITaskService<CollectCustomerFeedbackTaskData, Solution> collectCustomerFeedbackTaskService,
			MessageSource messageSource) {
		super(conversionService, solutionProcessService, 
				collectCustomerFeedbackTaskDataService, collectCustomerFeedbackTaskService,
				messageSource);
	}

	@Override
	protected Class<CollectCustomerFeedbackTaskData> getTaskDataClass() {
		return CollectCustomerFeedbackTaskData.class;
	}

}
